package com.sean.designpatterns.behavioral.command.monster;

import java.util.Iterator;

public class Invoker {

    ICommand attack;

    public void setCommand(ICommand command) {
        this.attack = command;
    }

   public void execute(){
        attack.execute();
   }

}
